home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac Power 1999 February
/
MACPOWER-1999-02.ISO.7z
/
MACPOWER-1999-02.ISO
/
9902⁄AMUG
/
EDUCATION
/
Area Properties 3.51.sit
/
Read Me - Area Properties 3.5
< prev
next >
Wrap
Text File
|
1998-10-08
|
8KB
|
152 lines
What is "Area Properties" and what does it do ?
It will do the following;
It will calculate and measure the following properties of any object you load
from a PICT or PNT document; (Objects can also be imported from the Clipboard.)
1. CROSS SECTIONAL AREA
2. TOTAL SURFACE AREA
3. TOTAL PERIMETER
4. MOMENT OF INERTIA about the centroidal axis & any axis
5. PRODUCT OF INERTIA about the centroidal axis & any axis
6. PRINCIPAL MOMENTS OF INERTIA, Imax & Imin
7. PRINCIPAL AXES OF area
8. RADIUS OF GYRATION
9. VOLUME
10 WEIGHT
11 MEASURE HEIGHT & WIDTH
12 PROVIDES RULER TO OBTAIN LENGTH MEASUREMENTS
13 WILL COLLAPSE OBJECT ON BOTH X & Y AXIS
14 COUNTS TOTAL OBJECT PIXELS
The object itself and the UNITS, DEPTH, SCALE & MATERIAL are user inputs. They
can be made the defaults with the Preferences... menu item.
SCALE is defined as actual object size divided by screen size. (If actual object width
is 12 inches and screen image width of object is 1 inch, the SCALE = 12.)
Portions of the screen object can be isolated by using shift-click-drag to select only
the portion of the object that is of interest. Place the cursor at the upper left corner
of region of interest and shift-click-drag to lower right corner of interest.
The results can be saved to disk as a PICT file.
NOMENCLATURE:
x - x coordinate.(horizontal axis
x centroid - x coordinate of the center of area of a homogeneous plate.
y - y coordinate.(vertical axis)
y centroid - y coordinate of the center of area of a homogeneous plate.
r - square root of (x^2 + y^2).
I_xcg - moment of inertia of area section re. x centroidal axis.
I_x - moment of inertia of area section re. x axis.
I_ycg - moment of inertia of area section re. y centroidal axis.
I_y - moment of inertia of area section re. y axis.
Imax, Imin - principal moments of inertia of the area about the x, y axis origin.
prin_axis - principal axes of the area about the x, y axis origin.
J_cg polar - polar moment of inertia of area section re. centroidal axis.
J_r - polar moment of inertia of area section re. centroidal origin.
P_xycg - product of inertia of area section re. x, y centroidal axis.
P_xy - product of inertia of area section re. x, y axis origin.
k_xcg - radius of gyration of area section re. x centroidal axis.
k_ycg - radius of gyration of area section re. y centroidal axis.
k_cg polar - polar radius of gyration of area section re. centroidal axis.
NOTES:
1 All BLACK or dark pixels are considered included in the object.
Objects must be filled in (do not use hollow or outlined shapes). See the
example objects in folder "Area Examples"
All WHITE or light colored pixels are void. USE the provided MENU
selection "MAKE ALL COLORS BLACK" or "COLOR EDITOR" to convert a
colored object to BLACK prior to starting any calculations.
2 The apple CONTROL STRIP (control panel) or any other 3rd party floating
windoid must be turned off or made invisible so as to not be included
as part of your object.
3 The minor jagged edges of an image will be corrected. All screen images are
made with square pixels making a perfect circle impossible to draw. One pixel
jaggies will be corrected, but larger jaggies will go uncorrected. This is why
the Area Properties calculated area of a 4" diameter circle screen image will
not equal the exact 12.567 in^2, but will be 12.54 in^2 instead. The same goes
for perimeter calculations.
Who might find this application of value ?
1. Engineers
2. Scientists
3. Students
4. Architects
"Area Examples"
coded by: William Weiss
2500 Ptarmigan Dr.#1
Walnut Creek, CA. 94595
USA
email address: WWeissTuna@AOL.com
* -------------------------------------------------------------------------------------- *
| |
| For organizations, that would like "Area Properties" modified to meet their specific |
| set of specifications or include custom features, I accept contract programming work. |
| |
| Comments and suggestions are always welcomed. If you use this code a lot, please make |
| a donation to your favorite charity. Thanks & I will look forward to your email . |
| |
* -------------------------------------------------------------------------------------- *
/* -------------------------------------------------------------------------------------------- */
Version 3.5 (10/98)
・ Added calculation of Principal moments of inertia (Imax & Imin).
・ Added calculation of Principal axes.
・ Added color matching fine tuning to COLOR_EDIT menu.
・ Added RGB values display to COLOR_EDIT menu items .
・ The apple CONTROL STRIP (control panel) will be disabled if present and enabled
after "Area Properties" is Quit.
/* -------------------------------------------------------------------------------------------- */
Version 3.4 (6/98)
・ Results can be viewed in either standard or scientific notation. See Number Format
menu item under File Menu.
・ Added calculation of Product of Inertia.
/* -------------------------------------------------------------------------------------------- */
Version 3.3 (2/98)
・ Added image flip (horizontal & vertical) ability. AP Menu
・ Image collapse function (AP Menu) will first convert all image colors to black.
・ Fixed printing bug under Mac OS 8.1
・ Preferences... menu item will now be enabled after a (Edit menu) paste operation.
/* -------------------------------------------------------------------------------------------- */
Version 3.2 (4/97)
・ Preferences... menu item (File Menu) can now save default units, material, object scale
and object depth.
・ Save As... menu item (File Menu) can save results as a PICT file to disk.
・ Maximum screen size that can be accommodated is now 1280 x 1280 pixels.
・ Will now work with a MATROX Millennium video card.
・ Added water to list of materials.
・ Just For Fun menu item will do 3D stuff if screen color set to thousands or millions
or if greyscale (Monitors and Sound CONTROL PANEL).
・ Fixed a bug with the Shift Click Drag selection routine.
・ Images imported via the clipboard (Pasted) will be centered on the screen.
/* -------------------------------------------------------------------------------------------- */
Version 3.0 (11/96) has added radius of gyration. Also added COLOR EDITOR, which will
allow selected colors of a color image to be converted to BLACK or deleted or isolated.
Also added some fun stuff.
/* -------------------------------------------------------------------------------------------- */
Version 2.6 now is PPC/68K FAT and uses the Metrowerks C/C++ compiler. Also fixed a bug
in the "MAKE ALL COLORS BLACK" routine.